package oop_abstract.demo2;

public class Frog extends Animal implements Swim{
    public Frog(){}
    public Frog(String name,int age){
        super(name, age);
    }
    @Override
    public void eat(String something){
        System.out.println("青蛙吃" + something);
    }
    @Override
    public void swim(){
        System.out.println("青蛙在蛙泳");
    }
}
